Release 10.1A: OpenEdge Development:
Messaging and ESB
getItemType function
Returns the data type of an item in a
MapMessage.Syntax
Applies to
Message objects
Notes
- Possible values include
UNKNOWN,boolean,byte,short,char,int,long,float,double,string, orlongchar.- It returns
UNKNOWNif the item does not exist.- The getItemType function cannot precisely determine certain data types. It is important to be aware of the following limitations:
- String values — The getItemType function returns the
longcharvalue for a data item consisting of a string longer than 32K. If the item is a string of 32K or less, the function returns thestringvalue for bothCHARACTERandLONGCHARdata. In the latter case, it is the responsibility of the 4GL programmer to know the order of items in theMapMessageand to call the correct function to interpret the data appropriately.- Date values — The getItemType function returns the
stringvalue for all date items. The 4GL programmer must know the order of items in theMapMessageand call the correct function to interpret the data appropriately.See also
createMapMessage procedure, setBoolean procedure, setByte procedure, setBytesFromRaw procedure, setChar procedure, setDate procedure, setDateTime procedure, setDateTime-TZ procedure, setDouble procedure, setFloat procedure, setInt procedure, setLong procedure, setLongString procedure, setShort procedure, setString procedure, getMapNames function, getItemType function, getBytesToRaw function, getChar function, getDate function, getDateTime function, getDateTime-TZ function, getDecimal function, getInt function, getLogical function, getLongString function, getLongStringCP function
For more information, see the "MapMessage" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |